mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.should-dsl: modernize
This commit is contained in:
@@ -5,15 +5,17 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "should-dsl";
|
||||
version = "2.1.2";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
inherit (finalAttrs) version;
|
||||
pname = "should_dsl";
|
||||
sha256 = "0ai30dxgygwzaj9sgdzyfr9p5b7gwc9piq59nzr4xy5x1zcm7xrn";
|
||||
hash = "sha256-NvdT2Q+9+E7yt6ngeBPj76xyU3b+t6eTVJ8//3oDIyo=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -21,10 +23,12 @@ buildPythonPackage rec {
|
||||
# There are no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "should_dsl" ];
|
||||
|
||||
meta = {
|
||||
description = "Should assertions in Python as clear and readable as possible";
|
||||
homepage = "https://github.com/nsi-iff/should-dsl";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ jluttine ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user