2017-03-10 03:06:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages }:
|
2015-04-28 03:44:35 +01:00
|
|
|
|
2017-03-10 03:06:40 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2015-04-28 03:44:35 +01:00
|
|
|
name = "peru-${version}";
|
2018-02-27 17:36:06 +00:00
|
|
|
version = "1.1.3";
|
2015-04-28 03:44:35 +01:00
|
|
|
|
2017-03-10 03:06:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "buildinspace";
|
|
|
|
repo = "peru";
|
|
|
|
rev = "${version}";
|
2018-02-27 17:36:06 +00:00
|
|
|
sha256 = "02kr3ib3ppbmcsjy8i8z41vp9gw9gdivy2l5aps12lmaa3rc6727";
|
2015-04-28 03:44:35 +01:00
|
|
|
};
|
|
|
|
|
2017-03-10 03:06:40 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [ pyyaml docopt ];
|
2016-09-02 19:51:55 +01:00
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
2015-04-28 03:44:35 +01:00
|
|
|
|
2017-03-10 03:06:40 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-04-28 03:44:35 +01:00
|
|
|
homepage = https://github.com/buildinspace/peru;
|
|
|
|
description = "A tool for including other people's code in your projects";
|
2017-03-10 03:06:40 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2015-04-28 03:44:35 +01:00
|
|
|
};
|
2017-03-10 03:06:40 +00:00
|
|
|
|
|
|
|
}
|