nixpkgs/pkgs/tools/security/uddup/default.nix

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

37 lines
709 B
Nix
Raw Normal View History

2021-03-10 07:46:34 +00:00
{ lib
, fetchFromGitHub
, python3
2021-03-10 07:46:34 +00:00
}:
python3.pkgs.buildPythonApplication rec {
2021-03-10 07:46:34 +00:00
pname = "uddup";
version = "0.9.3";
format = "setuptools";
2021-03-10 07:46:34 +00:00
src = fetchFromGitHub {
owner = "rotemreiss";
repo = pname;
rev = "v${version}";
sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
};
propagatedBuildInputs = with python3.pkgs; [
2021-03-10 07:46:34 +00:00
colorama
];
nativeCheckInputs = with python3.pkgs; [
2021-03-10 07:46:34 +00:00
pytestCheckHook
];
pythonImportsCheck = [
"uddup"
];
2021-03-10 07:46:34 +00:00
meta = with lib; {
description = "Tool for de-duplication URLs";
homepage = "https://github.com/rotemreiss/uddup";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}