`buildDotnetModule`: add support for installing pre-release tools (#374663)
[NixPkgs.git] / pkgs / development / python-modules / wirerope / default.nix
blob10622e40b2b4560a0f8a4efd05031ad2c56f98c6
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   six,
7   nix-update-script,
8   pytestCheckHook,
9   pytest-cov-stub,
12 buildPythonPackage rec {
13   pname = "wirerope";
14   version = "1.0.0";
15   pyproject = true;
17   src = fetchFromGitHub {
18     owner = "youknowone";
19     repo = "wirerope";
20     rev = version;
21     hash = "sha256-oojnv+2+nwL/TJhN+QZ5eiV6WGHC3SCxBQrCri0aHQc=";
22   };
24   build-system = [ setuptools ];
26   dependencies = [ six ];
28   pythonImportsCheck = [ "wirerope" ];
30   nativeCheckInputs = [
31     pytestCheckHook
32     pytest-cov-stub
33   ];
35   passthru.updateScript = nix-update-script { };
37   meta = with lib; {
38     description = "Wrappers for class callables";
39     homepage = "https://github.com/youknowone/wirerope";
40     changelog = "https://github.com/youknowone/wirerope/releases/tag/${version}";
41     license = licenses.bsd2WithViews;
42     maintainers = with maintainers; [ pbsds ];
43   };