mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
pythonPackages.poyo: refactor move to python-modules
This commit is contained in:
parent
d40edcb911
commit
2d5c53ce49
21
pkgs/development/python-modules/poyo/default.nix
Normal file
21
pkgs/development/python-modules/poyo/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.4.0";
|
||||
pname = "poyo";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1f48ffl0j1f2lmgabajps7v8w90ppxbp5168gh8kh27bjd8xk5ca";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/hackebrot/poyo;
|
||||
description = "A lightweight YAML Parser for Python";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -2052,21 +2052,7 @@ in {
|
||||
inherit (pkgs.libsForQt5) poppler;
|
||||
};
|
||||
|
||||
poyo = buildPythonPackage rec {
|
||||
version = "0.4.0";
|
||||
name = "poyo-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/poyo/${name}.tar.gz";
|
||||
sha256 = "1f48ffl0j1f2lmgabajps7v8w90ppxbp5168gh8kh27bjd8xk5ca";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/hackebrot/poyo;
|
||||
description = "A lightweight YAML Parser for Python";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
poyo = callPackage ../development/python-modules/poyo { };
|
||||
|
||||
prov = callPackage ../development/python-modules/prov { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user