pythonPackages.pymaging-png: refactor move to python-modules
This commit is contained in:
parent
b9e7aa1b2f
commit
0ea426c1e8
27
pkgs/development/python-modules/pymaging_png/default.nix
Normal file
27
pkgs/development/python-modules/pymaging_png/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pymaging
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "pymaging-png";
|
||||||
|
version = "unstable-2016-11-16";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ojii";
|
||||||
|
repo = "pymaging-png";
|
||||||
|
rev = "83d85c44e4b2342818e6c068065e031a9f81bb9f";
|
||||||
|
sha256 = "1mknxvsq0lr1ffm8amzm3w2prn043c6ghqgpxlkw83r988p5fn57";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pymaging ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Pure Python imaging library with Python 2.6, 2.7, 3.1+ support";
|
||||||
|
homepage = https://github.com/ojii/pymaging-png/;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ mic92 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3465,25 +3465,7 @@ in {
|
|||||||
|
|
||||||
pymaging = callPackage ../development/python-modules/pymaging { };
|
pymaging = callPackage ../development/python-modules/pymaging { };
|
||||||
|
|
||||||
pymaging_png = buildPythonPackage rec {
|
pymaging_png = callPackage ../development/python-modules/pymaging_png { };
|
||||||
name = "pymaging-png-unstable-2016-11-16";
|
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "ojii";
|
|
||||||
repo = "pymaging-png";
|
|
||||||
rev = "83d85c44e4b2342818e6c068065e031a9f81bb9f";
|
|
||||||
sha256 = "1mknxvsq0lr1ffm8amzm3w2prn043c6ghqgpxlkw83r988p5fn57";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pymaging ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Pure Python imaging library with Python 2.6, 2.7, 3.1+ support";
|
|
||||||
homepage = https://github.com/ojii/pymaging-png/;
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ mic92 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pyPdf = buildPythonPackage rec {
|
pyPdf = buildPythonPackage rec {
|
||||||
name = "pyPdf-1.13";
|
name = "pyPdf-1.13";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user