about summary refs log tree commit diff
path: root/pkgs/development/python-modules/woodblock/default.nix
blob: 12c71c8c55a71789f93c5ab5496625983a37a7f0 (plain) (blame)
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
34
35
36
37
{
  lib,
  buildPythonPackage,
  fetchPypi,
  click,
  multimethod,
  numpy,
}:
buildPythonPackage rec {
  pname = "woodblock";
  version = "0.1.7";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c0347ece920b7009d94551983a01f42db02920ca8d7b0ff36d24a337e2c937f7";
  };

  propagatedBuildInputs = [
    click
    multimethod
    numpy
  ];

  # no tests
  doCheck = false;

  pythonImportsCheck = [ "woodblock" ];

  meta = with lib; {
    description = "Framework to generate file carving test data";
    mainProgram = "woodblock";
    homepage = "https://github.com/fkie-cad/woodblock";
    license = licenses.mit;
    maintainers = [ ];
  };
}