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