python.pkgs.python-axolotl-curve25519: move to a separate file

This commit is contained in:
Nikolay Amiantov 2018-02-25 20:21:52 +03:00
parent 22f5d7e8a9
commit 22c37db7f2
2 changed files with 19 additions and 17 deletions

View file

@ -0,0 +1,18 @@
{ lib, buildPythonPackage, fetchurl }:
buildPythonPackage rec {
name = "python-axolotl-curve25519-${version}";
version = "0.1";
src = fetchurl {
url = "mirror://pypi/p/python-axolotl-curve25519/${name}.tar.gz";
sha256 = "1h1rsdr7m8lvgxwrwng7qv0xxmyc9k0q7g9nbcr6ks2ipyjzcnf5";
};
meta = with lib; {
homepage = https://github.com/tgalal/python-axolotl-curve25519;
description = "Curve25519 with ed25519 signatures";
maintainers = with maintainers; [ abbradar ];
license = licenses.gpl3;
};
}

View file

@ -6128,23 +6128,7 @@ in {
python-axolotl = callPackage ../development/python-modules/python-axolotl { };
python-axolotl-curve25519 = buildPythonPackage rec {
name = "python-axolotl-curve25519-${version}";
version = "0.1";
src = pkgs.fetchurl {
url = "mirror://pypi/p/python-axolotl-curve25519/${name}.tar.gz";
sha256 = "1h1rsdr7m8lvgxwrwng7qv0xxmyc9k0q7g9nbcr6ks2ipyjzcnf5";
};
meta = {
homepage = "https://github.com/tgalal/python-axolotl-curve25519";
description = "Curve25519 with ed25519 signatures";
maintainers = with maintainers; [ abbradar ];
license = licenses.gpl3;
platforms = platforms.all;
};
};
python-axolotl-curve25519 = callPackage ../development/python-modules/python-axolotl-curve25519 { };
pythonix = toPythonModule (callPackage ../development/python-modules/pythonix { });