2015-04-28 03:44:35 +01:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages }:
|
|
|
|
|
|
|
|
let
|
|
|
|
version = "0.2.3";
|
|
|
|
in
|
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2015-04-28 03:44:35 +01:00
|
|
|
|
|
|
|
# Do not prefix name with python specific version identifier.
|
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
name = "peru-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "buildinspace";
|
|
|
|
repo = "peru";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "04bnaly50qmzkj0shdag94n8vr3ggarlqdny5zdb8nh31fqgln8b";
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonPath = with python3Packages; [ pyyaml docopt ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/buildinspace/peru;
|
|
|
|
description = "A tool for including other people's code in your projects";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|