mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.atomicwrites: migrate to pyproject (#527603)
This commit is contained in:
commit
c8cb42421e
1 changed files with 7 additions and 4 deletions
|
|
@ -3,18 +3,21 @@
|
|||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytest,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "atomicwrites";
|
||||
version = "1.4.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-gbLJBxpJNnp/dwFw5e7Iy2ZWfPu8jHPSDOXKSo1xzxE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# Tests depend on pytest but atomicwrites is a dependency of pytest
|
||||
doCheck = false;
|
||||
nativeCheckInputs = [ pytest ];
|
||||
|
|
@ -25,4 +28,4 @@ buildPythonPackage rec {
|
|||
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue