mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 10:14:09 +00:00
python.pkgs.entrypoints: 0.2.2 -> 0.2.3
This commit is contained in:
parent
a2fb79f865
commit
63e13345ae
31
pkgs/development/python-modules/entrypoints/default.nix
Normal file
31
pkgs/development/python-modules/entrypoints/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, configparser
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "entrypoints";
|
||||
version = "0.2.3";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d2d587dde06f99545fb13a383d2cd336a8ff1f359c5839ce3a64c917d10c029f";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest];
|
||||
|
||||
propagatedBuildInputs = [ configparser ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test tests
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Discover and load entry points from installed packages";
|
||||
homepage = https://github.com/takluyver/entrypoints;
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
@ -5330,19 +5330,7 @@ in {
|
||||
};
|
||||
});
|
||||
|
||||
entrypoints = buildPythonPackage rec {
|
||||
pname = "entrypoints";
|
||||
version = "0.2.2";
|
||||
name = "${pname}-${version}";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version format;
|
||||
sha256 = "0a0685962ee5ac303f470acbb659f0f97aef5b9deb6b85d059691c706ef6e45e";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ configparser ];
|
||||
};
|
||||
entrypoints = callPackage ../development/python-modules/entrypoints { };
|
||||
|
||||
enzyme = callPackage ../development/python-modules/enzyme {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user