2017-08-29 08:31:45 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, setuptools_scm, pathpy, nbconvert
|
|
|
|
, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "zetup";
|
2017-10-25 20:04:35 +02:00
|
|
|
version = "0.2.42";
|
2017-08-29 08:31:45 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 20:04:35 +02:00
|
|
|
sha256 = "6c9e25249f3014ed2162398772ccf1a5e8a4e9e66c74e3c7f6683945a6a3d84c";
|
2017-08-29 08:31:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test test
|
|
|
|
'';
|
|
|
|
|
2017-09-06 16:44:30 +02:00
|
|
|
checkInputs = [ pytest pathpy nbconvert ];
|
2017-08-29 08:31:45 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|