summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/crcelk/default.nix
blob: 617f021aac2edc6269efc698921279d434d9c2ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage rec {
  pname = "crcelk";
  version = "1.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "zeroSteiner";
    repo = "crcelk";
    tag = "v${version}";
    hash = "sha256-eJt0qcG0ejTQJyjOSi6Au2jH801KOMnk7f6cLbd7ADw=";
  };

  build-system = [ setuptools ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "crcelk" ];

  meta = {
    description = "Implementation of the CRC algorithm";
    homepage = "https://github.com/zeroSteiner/crcelk";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}