2017-08-29 06:31:45 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, setuptools_scm, pathpy, nbconvert
|
|
|
|
, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "zetup";
|
2017-09-06 14:44:30 +00:00
|
|
|
version = "0.2.34";
|
2017-08-29 06:31:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-09-06 14:44:30 +00:00
|
|
|
sha256 = "0k4lm51b5qjy7yxy3n5z8vc5hlvjcsfsvwjgqzkr0pisysar1kpf";
|
2017-08-29 06:31:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test test
|
|
|
|
'';
|
|
|
|
|
2017-09-06 14:44:30 +00:00
|
|
|
checkInputs = [ pytest pathpy nbconvert ];
|
2017-08-29 06:31:45 +00: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;
|
|
|
|
};
|
|
|
|
}
|