diff --git a/pkgs/tools/misc/dpt-rp1-py/default.nix b/pkgs/tools/misc/dpt-rp1-py/default.nix new file mode 100644 index 000000000000..8e5b15e5ee5b --- /dev/null +++ b/pkgs/tools/misc/dpt-rp1-py/default.nix @@ -0,0 +1,28 @@ +{ lib, python3Packages, fetchFromGitHub }: +python3Packages.buildPythonApplication rec { + pname = "dpt-rp1-py"; + version = "2018-10-16"; + + src = fetchFromGitHub { + owner = "janten"; + repo = pname; + rev = "4551b4432f8470de5f2ad9171105f731a6259395"; + sha256 = "176y5j31aci1vpi8v6r5ki55432fbdsazh9bsyzr90im9zimkffl"; + }; + + doCheck = false; + + propagatedBuildInputs = with python3Packages; [ + httpsig + requests + pbkdf2 + urllib3 + ]; + + meta = with lib; { + homepage = https://github.com/janten/dpt-rp1-py; + description = "Python script to manage Sony DPT-RP1 without Digital Paper App"; + license = licenses.mit; + maintainers = with maintainers; [ mt-caret ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index baf748157159..90ffbfdd8717 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -697,6 +697,8 @@ with pkgs; dkimpy = with pythonPackages; toPythonApplication dkimpy; + dpt-rp1-py = callPackage ../tools/misc/dpt-rp1-py { }; + ecdsautils = callPackage ../tools/security/ecdsautils { }; sedutil = callPackage ../tools/security/sedutil { };