diff --git a/pkgs/applications/version-management/peru/default.nix b/pkgs/applications/version-management/peru/default.nix new file mode 100644 index 000000000000..d97aee233883 --- /dev/null +++ b/pkgs/applications/version-management/peru/default.nix @@ -0,0 +1,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; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 35e643963f38..6ecc4827ce50 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12660,6 +12660,8 @@ let cura = callPackage ../applications/misc/cura { }; + peru = callPackage ../applications/version-management/peru {}; + printrun = callPackage ../applications/misc/printrun { }; sddm = callPackage ../applications/display-managers/sddm { };