python slowaes: move expression to python-packages.nix

This commit is contained in:
Frederik Rietdijk 2015-12-09 10:46:04 +01:00
parent f9acc95a09
commit e60da70c3b
3 changed files with 19 additions and 17 deletions

View File

@ -1,16 +0,0 @@
{ stdenv, fetchurl, buildPythonPackage }:
buildPythonPackage rec {
name = "slowaes-0.1a1";
src = fetchurl {
url = "https://pypi.python.org/packages/source/s/slowaes/${name}.tar.gz";
sha256 = "83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09";
};
meta = {
homepage = "http://code.google.com/p/slowaes/";
description = "AES implemented in pure python";
license = stdenv.lib.licenses.asl20;
};
}

View File

@ -9063,7 +9063,7 @@ let
setuptools = pythonPackages.setuptools;
slowaes = callPackage ../development/python-modules/slowaes { };
slowaes = pythonPackages.slowaes;
wxPython = pythonPackages.wxPython;
wxPython28 = pythonPackages.wxPython28;

View File

@ -16917,6 +16917,24 @@ in modules // {
};
};
slowaes = buildPythonPackage rec {
name = "slowaes-${version}";
version = "0.1a1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/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 ];
};
};
snowballstemmer = buildPythonPackage rec {
name = "snowballstemmer-1.2.0";