2016-09-02 20:51:55 +02:00
|
|
|
{ stdenv, fetchurl, python3Packages }:
|
2015-04-28 04:44:35 +02:00
|
|
|
|
|
|
|
let
|
2016-09-02 20:51:55 +02:00
|
|
|
pythonPackages = python3Packages;
|
|
|
|
in pythonPackages.buildPythonApplication rec {
|
2015-04-28 04:44:35 +02:00
|
|
|
|
|
|
|
name = "peru-${version}";
|
2016-09-02 20:51:55 +02:00
|
|
|
version = "1.0.1";
|
2015-04-28 04:44:35 +02:00
|
|
|
|
2016-09-02 20:51:55 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/p/peru/${name}.tar.gz";
|
|
|
|
sha256 = "d51771d4aa7e16119e46c39efd71b0a1a898607bf3fb7735fc688a64fc59cbf1";
|
2015-04-28 04:44:35 +02:00
|
|
|
};
|
|
|
|
|
2016-09-02 20:51:55 +02:00
|
|
|
propagatedBuildInputs = with pythonPackages; [ pyyaml docopt ];
|
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
2015-04-28 04:44:35 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/buildinspace/peru;
|
|
|
|
description = "A tool for including other people's code in your projects";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|