pythonPackages.pymaging: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 11:16:31 -04:00 committed by Frederik Rietdijk
parent d1a868f1fa
commit b9e7aa1b2f
2 changed files with 25 additions and 17 deletions

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
name = "pymaging";
version = "unstable-2016-11-16";
src = fetchFromGitHub {
owner = "ojii";
repo = "pymaging";
rev = "596a08fce5664e58d6e8c96847393fbe987783f2";
sha256 = "18g3n7kfrark30l4vzykh0gdbnfv5wb1zvvjbs17sj6yampypn38";
};
meta = with stdenv.lib; {
description = "Pure Python imaging library with Python 2.6, 2.7, 3.1+ support";
homepage = http://pymaging.rtfd.org;
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
};
}

View File

@ -3463,23 +3463,7 @@ in {
purepng = callPackage ../development/python-modules/purepng { }; purepng = callPackage ../development/python-modules/purepng { };
pymaging = buildPythonPackage rec { pymaging = callPackage ../development/python-modules/pymaging { };
name = "pymaging-unstable-2016-11-16";
src = pkgs.fetchFromGitHub {
owner = "ojii";
repo = "pymaging";
rev = "596a08fce5664e58d6e8c96847393fbe987783f2";
sha256 = "18g3n7kfrark30l4vzykh0gdbnfv5wb1zvvjbs17sj6yampypn38";
};
meta = {
description = "Pure Python imaging library with Python 2.6, 2.7, 3.1+ support";
homepage = http://pymaging.rtfd.org;
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
};
};
pymaging_png = buildPythonPackage rec { pymaging_png = buildPythonPackage rec {
name = "pymaging-png-unstable-2016-11-16"; name = "pymaging-png-unstable-2016-11-16";