summary refs log tree commit diff
path: root/pkgs/development/python-modules/zetup/default.nix
blob: 66a4718fe9e729bb1f7168993e4cd69e0ed46eec (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.34";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0k4lm51b5qjy7yxy3n5z8vc5hlvjcsfsvwjgqzkr0pisysar1kpf";
  };

  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;
  };
}