diff --git a/pkgs/development/python-modules/crc32c/default.nix b/pkgs/development/python-modules/crc32c/default.nix new file mode 100644 index 000000000000..6fd31d007f6c --- /dev/null +++ b/pkgs/development/python-modules/crc32c/default.nix @@ -0,0 +1,20 @@ +{ lib, buildPythonPackage, fetchFromGitHub }: + +buildPythonPackage rec { + version = "2.0"; + pname = "crc32c"; + + src = fetchFromGitHub { + owner = "ICRAR"; + repo = pname; + rev = "v${version}"; + sha256 = "15x1sj23n50qdjmi8mjq5wgf5jfn1yv78vjc59wplvl0s50w2dnk"; + }; + + meta = { + description = "Python software implementation and hardware API of CRC32C checksum algorithm"; + homepage = "https://github.com/ICRAR/crc32c"; + license = lib.licenses.lgpl21; + maintainers = with lib.maintainers; [ bcdarwin ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d89f2f4665a4..4ce723bfa5d0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -552,6 +552,8 @@ in { codespell = callPackage ../development/python-modules/codespell { }; + crc32c = callPackage ../development/python-modules/crc32c { }; + curio = callPackage ../development/python-modules/curio { }; dendropy = callPackage ../development/python-modules/dendropy { };