nixpkgs/pkgs/development/tools/agda-pkg/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
976 B
Nix
Raw Normal View History

2022-12-05 22:06:10 +01:00
{ lib
, python3Packages
2023-05-25 20:37:59 +02:00
, fetchPypi
2022-12-05 22:06:10 +01:00
}:
2020-05-17 12:19:59 +02:00
with python3Packages;
buildPythonApplication rec {
pname = "agda-pkg";
2020-10-15 09:20:50 +02:00
version = "0.1.51";
2020-05-17 12:19:59 +02:00
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
2020-10-15 09:20:50 +02:00
sha256 = "ee370889a1558caf45930d9f898dbe248048078e1e7e3ee17382bf574dc795f2";
2020-05-17 12:19:59 +02:00
};
# Checks need internet access, so we just check the program executes
# At the moment the help page needs to write to $HOME, this can
# be removed if https://github.com/agda/agda-pkg/issues/40 is fixed
checkPhase = ''
HOME=$NIX_BUILD_TOP $out/bin/apkg --help > /dev/null
'';
propagatedBuildInputs = [
click
2022-12-05 22:06:10 +01:00
gitpython
2020-05-17 12:19:59 +02:00
pony
whoosh
natsort
click-log
requests
humanize
distlib
jinja2
pyyaml
ponywhoosh
];
meta = with lib; {
homepage = "https://agda.github.io/agda-pkg/";
description = "Package manager for Agda";
license = licenses.mit;
maintainers = with maintainers; [ alexarice ];
};
}