summary refs log tree commit diff
path: root/pkgs/applications/version-management/peru/default.nix
blob: d97aee233883cb339cc75993365df2ad0041ae30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchFromGitHub, python3Packages }:

let 
  version = "0.2.3"; 
in

python3Packages.buildPythonPackage rec {
  
  # 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;
  };
}