mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
pythonPackages.pyyaml: move derivation
This commit is contained in:
parent
dbb5b599ed
commit
7953e05672
20
pkgs/development/python-modules/pyyaml/default.nix
Normal file
20
pkgs/development/python-modules/pyyaml/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, libyaml }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyYAML";
|
||||
version = "3.12";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ libyaml ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The next generation YAML parser and emitter for Python";
|
||||
homepage = https://github.com/yaml/pyyaml;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -14946,23 +14946,7 @@ in {
|
||||
|
||||
pyaml = callPackage ../development/python-modules/pyaml { };
|
||||
|
||||
pyyaml = buildPythonPackage (rec {
|
||||
name = "PyYAML-3.12";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://pyyaml.org/download/pyyaml/${name}.zip";
|
||||
sha256 = "19s1lxi0idq4a0bpvld866pv5b16lqxypyswmsdi5ys4210jxj2s";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pkgs.pyrex ];
|
||||
propagatedBuildInputs = with self; [ pkgs.libyaml ];
|
||||
|
||||
meta = {
|
||||
description = "The next generation YAML parser and emitter for Python";
|
||||
homepage = http://pyyaml.org;
|
||||
license = licenses.free; # !?
|
||||
};
|
||||
});
|
||||
pyyaml = callPackage ../development/python-modules/pyyaml { };
|
||||
|
||||
rabbitpy = buildPythonPackage rec {
|
||||
version = "0.26.2";
|
||||
|
Loading…
Reference in New Issue
Block a user