git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #115716 from fabaff/uddup

uddup: init at 0.9.3

commit075fefaa03be6b891fe06f0b5dc4fbfacdfa84ba authorSandro <sandro.jaeckel@gmail.com> dateWed 10 Mar 2021, 10:00 (6 years ago) parent85a0fe801bfce3
2 files changed+37
pkgs/tools/security/uddup/default.nix+35 pkgs/top-level/all-packages.nix+2
pkgs/tools/security/uddup/default.nixnew file+35
@@ -0,0 +1,35 @@
1+{ lib
2+, buildPythonApplication
3+, colorama
4+, fetchFromGitHub
5+, pytestCheckHook
6+}:
7+
8+buildPythonApplication rec {
9+ pname = "uddup";
10+ version = "0.9.3";
11+
12+ src = fetchFromGitHub {
13+ owner = "rotemreiss";
14+ repo = pname;
15+ rev = "v${version}";
16+ sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
17+ };
18+
19+ propagatedBuildInputs = [
20+ colorama
21+ ];
22+
23+ checkInputs = [
24+ pytestCheckHook
25+ ];
26+
27+ pythonImportsCheck = [ "uddup" ];
28+
29+ meta = with lib; {
30+ description = "Tool for de-duplication URLs";
31+ homepage = "https://github.com/rotemreiss/uddup";
32+ license = with licenses; [ mit ];
33+ maintainers = with maintainers; [ fab ];
34+ };
35+}
pkgs/top-level/all-packages.nix+2
@@ -13126,6 +13126,8 @@ in
1312613126 inherit (darwin.apple_sdk.frameworks) CoreFoundation;
1312713127 };
1312813128
13129+ uddup = python3Packages.callPackage ../tools/security/uddup { };
13130+
1312913131 udis86 = callPackage ../development/tools/udis86 { };
1313013132
1313113133 uefi-firmware-parser = callPackage ../development/tools/analysis/uefi-firmware-parser { };