depot/third_party/nixpkgs/pkgs/development/python-modules/fountains/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

42 lines
758 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, bitlist
, pythonOlder
}:
buildPythonPackage rec {
pname = "fountains";
version = "2.1.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-gYVguXMVrXxra/xy+R4RXVk9yDGKiKE8u3qWUk8sjt4=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
bitlist
];
# Module has no test
doCheck = false;
pythonImportsCheck = [
"fountains"
];
meta = with lib; {
description = "Python library for generating and embedding data for unit testing";
homepage = "https://github.com/reity/fountains";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}