07b8fe0546
GitOrigin-RevId: 916ee862e87ac5ee2439f2fb7856386b4dc906ae
35 lines
665 B
Nix
35 lines
665 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, colorama
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "uddup";
|
|
version = "0.9.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rotemreiss";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
colorama
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "uddup" ];
|
|
|
|
meta = with lib; {
|
|
description = "Tool for de-duplication URLs";
|
|
homepage = "https://github.com/rotemreiss/uddup";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|