2021-03-06 20:44:29 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, bitlist
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fountains";
|
2021-09-26 06:58:53 +00:00
|
|
|
version = "1.1.1";
|
2021-03-06 20:44:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-26 06:58:53 +00:00
|
|
|
sha256 = "fbf4e2cb11d60d3bafca5bb7c01c254d08a5541ed7ddfe00ef975eb173fb75a4";
|
2021-03-06 20:44:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bitlist
|
|
|
|
];
|
|
|
|
|
2021-12-03 08:09:19 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py \
|
|
|
|
--replace "bitlist~=0.5.1" "bitlist>=0.5.1"
|
|
|
|
'';
|
|
|
|
|
2021-03-06 20:44:29 +00:00
|
|
|
# Project has no test
|
|
|
|
doCheck = false;
|
2021-09-24 09:25:26 +00:00
|
|
|
|
2021-03-06 20:44:29 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|