pythonPackages.jmespath: refactor move to python-modules
This commit is contained in:
parent
e137ac1db9
commit
62d972b0b1
|
@ -0,0 +1,26 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, ply
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jmespath";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0g9xvl69y7nr3w7ag4fsp6sm4fqf6vrqjw7504x2hzrrsh3ampq8";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
propagatedBuildInputs = [ ply ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/boto/jmespath;
|
||||
description = "JMESPath allows you to declaratively specify how to extract elements from a JSON document";
|
||||
license = "BSD";
|
||||
};
|
||||
|
||||
}
|
|
@ -5619,23 +5619,7 @@ in {
|
|||
|
||||
jinja2_pluralize = callPackage ../development/python-modules/jinja2_pluralize { };
|
||||
|
||||
jmespath = buildPythonPackage rec {
|
||||
name = "jmespath-0.9.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/j/jmespath/${name}.tar.gz";
|
||||
sha256 = "0g9xvl69y7nr3w7ag4fsp6sm4fqf6vrqjw7504x2hzrrsh3ampq8";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ nose ];
|
||||
propagatedBuildInputs = with self; [ ply ];
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/boto/jmespath;
|
||||
description = "JMESPath allows you to declaratively specify how to extract elements from a JSON document";
|
||||
license = "BSD";
|
||||
};
|
||||
};
|
||||
jmespath = callPackage ../development/python-modules/jmespath { };
|
||||
|
||||
journalwatch = callPackage ../tools/system/journalwatch {
|
||||
inherit (self) systemd pytest;
|
||||
|
|
Loading…
Reference in New Issue