mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
pythonPackages.poyo: refactor move to python-modules
This commit is contained in:
parent
d40edcb911
commit
2d5c53ce49
2 changed files with 22 additions and 15 deletions
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 a new issue