summary refs log tree commit diff
path: root/pkgs/development/python-modules/zetup/default.nix
blob: a682a6e4e9287ee8bff8b67ceccbc22bb2af024f (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
{ stdenv, buildPythonPackage, fetchPypi
, setuptools_scm, pathpy, nbconvert
, pytest }:

buildPythonPackage rec {
  name = "${pname}-${version}";
  pname = "zetup";
  version = "0.2.42";

  src = fetchPypi {
    inherit pname version;
    sha256 = "6c9e25249f3014ed2162398772ccf1a5e8a4e9e66c74e3c7f6683945a6a3d84c";
  };

  checkPhase = ''
    py.test test
  '';

  buildInputs = [ pytest pathpy nbconvert ];
  propagatedBuildInputs = [ setuptools_scm ];

  meta = with stdenv.lib; {
    description = ''
      Zimmermann's Extensible Tools for Unified Project setups
    '';
    homepage = https://github.com/zimmermanncode/zetup;
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
  };
}