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