mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 12:44:44 +00:00
I do not have the time or energy to handle all of this. Let alone my GitHub notifications. This PR is in good faith and does not refer to anything community-related. I will keep on doing nixpkgs work but the pile of shame (let's call it that) needs to be cleaned. Thanks to @mweinelt which whom I had a discussion and who made me aware of this issue.
42 lines
1.0 KiB
Nix
42 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
fetchpatch2,
|
|
poetry-core,
|
|
pytestCheckHook,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "bitvector-for-humans";
|
|
version = "0.14.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "JnyJny";
|
|
repo = "bitvector";
|
|
rev = version;
|
|
hash = "sha256-GVTRD83tq/Hea53US4drOD5ruoYCLTVd24aZOSdDsSo=";
|
|
};
|
|
|
|
patches = [
|
|
(fetchpatch2 {
|
|
# https://github.com/JnyJny/bitvector/pull/1
|
|
name = "fix-poetry-core.patch";
|
|
url = "https://github.com/JnyJny/bitvector/commit/e5777f2425895ed854e54bed2ed9d993f6feaf2f.patch";
|
|
hash = "sha256-BG3IpDMys88RtkPOd58CWpRWKKzbNe5kV+64hWjtecE=";
|
|
})
|
|
];
|
|
|
|
build-system = [ poetry-core ];
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "bitvector" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/JnyJny/bitvector";
|
|
description = "This simple bit vector implementation aims to make addressing single bits a little less fiddly";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ helsinki-Jo ];
|
|
};
|
|
}
|