mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
38 lines
736 B
Nix
38 lines
736 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "uddup";
|
|
version = "0.9.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rotemreiss";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
colorama
|
|
];
|
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"uddup"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool for de-duplication URLs";
|
|
mainProgram = "uddup";
|
|
homepage = "https://github.com/rotemreiss/uddup";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|