pythonPackages.slowaes: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 13:27:34 -04:00 committed by Frederik Rietdijk
parent aa04e9b16b
commit b9e2d585d3
2 changed files with 25 additions and 17 deletions

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "slowaes";
version = "0.1a1";
src = fetchPypi {
inherit pname version;
sha256 = "83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09";
};
disabled = isPy3k;
meta = with stdenv.lib; {
homepage = "http://code.google.com/p/slowaes/";
description = "AES implemented in pure python";
license = with licenses; [ asl20 ];
};
}

View File

@ -3732,23 +3732,7 @@ in {
slob = callPackage ../development/python-modules/slob { };
slowaes = buildPythonPackage rec {
name = "slowaes-${version}";
version = "0.1a1";
src = pkgs.fetchurl {
url = "mirror://pypi/s/slowaes/${name}.tar.gz";
sha256 = "83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09";
};
disabled = isPy3k;
meta = {
homepage = "http://code.google.com/p/slowaes/";
description = "AES implemented in pure python";
license = with licenses; [ asl20 ];
};
};
slowaes = callPackage ../development/python-modules/slowaes { };
snowballstemmer = callPackage ../development/python-modules/snowballstemmer { };