Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ 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 = with lib; { homepage = "https://github.com/JnyJny/bitvector"; description = "This simple bit vector implementation aims to make addressing single bits a little less fiddly"; license = licenses.asl20; teams = [ teams.helsinki-systems ]; };}