Files
nixpkgs/pkgs/by-name/pe/peru/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

42 lines
823 B
Nix

{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "peru";
version = "1.3.4";
pyproject = true;
disabled = python3Packages.pythonOlder "3.5";
src = fetchFromGitHub {
owner = "buildinspace";
repo = "peru";
rev = version;
sha256 = "sha256-ubkDB/McG2Tp3s0K5PbL6QpHbpqRLAUSHa7v+u/n6hI=";
};
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
pyyaml
docopt
];
# No tests in archive
doCheck = false;
pythonImportsCheck = [ "peru" ];
meta = with lib; {
homepage = "https://github.com/buildinspace/peru";
description = "Tool for including other people's code in your projects";
license = licenses.mit;
platforms = platforms.unix;
mainProgram = "peru";
};
}