mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
pythonPackages.slowaes: refactor move to python-modules
This commit is contained in:
parent
aa04e9b16b
commit
b9e2d585d3
24
pkgs/development/python-modules/slowaes/default.nix
Normal file
24
pkgs/development/python-modules/slowaes/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user