2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
2015-04-28 04:44:35 +02:00
|
|
|
|
2017-03-10 04:06:40 +01:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2018-12-30 17:07:54 +01:00
|
|
|
pname = "peru";
|
2018-12-25 06:24:12 +01:00
|
|
|
version = "1.2.0";
|
2015-04-28 04:44:35 +02:00
|
|
|
|
2018-12-30 17:07:54 +01:00
|
|
|
disabled = python3Packages.pythonOlder "3.5";
|
|
|
|
|
2017-03-10 04:06:40 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "buildinspace";
|
|
|
|
repo = "peru";
|
2019-09-09 01:38:31 +02:00
|
|
|
rev = version;
|
2018-12-25 06:24:12 +01:00
|
|
|
sha256 = "0p4j51m89glx12cd65lcnbwpvin0v49wkhrx06755skr7v37pm2a";
|
2015-04-28 04:44:35 +02:00
|
|
|
};
|
|
|
|
|
2017-03-10 04:06:40 +01:00
|
|
|
propagatedBuildInputs = with python3Packages; [ pyyaml docopt ];
|
2016-09-02 20:51:55 +02:00
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
2015-04-28 04:44:35 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/buildinspace/peru";
|
2015-04-28 04:44:35 +02:00
|
|
|
description = "A tool for including other people's code in your projects";
|
2017-03-10 04:06:40 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2015-04-28 04:44:35 +02:00
|
|
|
};
|
2017-03-10 04:06:40 +01:00
|
|
|
|
|
|
|
}
|