mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:36:27 +00:00
python.pkgs.build: init at 0.0.3.1
This commit is contained in:
parent
41010cf832
commit
f3a693122c
46
pkgs/development/python-modules/build/default.nix
Normal file
46
pkgs/development/python-modules/build/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, flit-core
|
||||
, toml
|
||||
, pep517
|
||||
, packaging
|
||||
, isPy3k
|
||||
, typing
|
||||
, pythonOlder
|
||||
, importlib-metadata
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "build";
|
||||
version = "0.0.3.1";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "757b5542168326b6f1898a1ce1131bb2cf306ee4c7e54e39c815c5be217ff87d";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
toml
|
||||
pep517
|
||||
packaging
|
||||
] ++ lib.optionals (!isPy3k) [
|
||||
typing
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A simple, correct PEP517 package builder";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
|
@ -534,6 +534,8 @@ in {
|
|||
|
||||
breezy = callPackage ../development/python-modules/breezy { };
|
||||
|
||||
build = callPackage ../development/python-modules/build { };
|
||||
|
||||
ciso8601 = callPackage ../development/python-modules/ciso8601 { };
|
||||
|
||||
deepdiff = callPackage ../development/python-modules/deepdiff { };
|
||||
|
|
Loading…
Reference in a new issue