python3Packages.shiv: init at 1.0.1
This commit is contained in:
parent
ae00b02e5b
commit
5a1c6f1d63
34
pkgs/development/python-modules/shiv/default.nix
Normal file
34
pkgs/development/python-modules/shiv/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, click
|
||||||
|
, pip
|
||||||
|
, setuptools
|
||||||
|
, wheel
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "shiv";
|
||||||
|
version = "1.0.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "ec16095a0565906536af7f5e57771e9ae7a061b646ed63ad66ebbc70c30f4d2a";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ click pip setuptools wheel ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "shiv" ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Command line utility for building fully self contained Python zipapps";
|
||||||
|
homepage = "https://github.com/linkedin/shiv";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ prusnak ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9854,6 +9854,8 @@ with pkgs;
|
||||||
|
|
||||||
shen-sources = callPackage ../development/interpreters/shen-sources { };
|
shen-sources = callPackage ../development/interpreters/shen-sources { };
|
||||||
|
|
||||||
|
shiv = with python3Packages; toPythonApplication shiv;
|
||||||
|
|
||||||
shocco = callPackage ../tools/text/shocco { };
|
shocco = callPackage ../tools/text/shocco { };
|
||||||
|
|
||||||
shopify-cli = callPackage ../development/web/shopify-cli { };
|
shopify-cli = callPackage ../development/web/shopify-cli { };
|
||||||
|
|
|
@ -9239,6 +9239,8 @@ in {
|
||||||
|
|
||||||
shippai = callPackage ../development/python-modules/shippai { };
|
shippai = callPackage ../development/python-modules/shippai { };
|
||||||
|
|
||||||
|
shiv = callPackage ../development/python-modules/shiv { };
|
||||||
|
|
||||||
shodan = callPackage ../development/python-modules/shodan { };
|
shodan = callPackage ../development/python-modules/shodan { };
|
||||||
|
|
||||||
shortuuid = callPackage ../development/python-modules/shortuuid { };
|
shortuuid = callPackage ../development/python-modules/shortuuid { };
|
||||||
|
|
Loading…
Reference in a new issue