diff options
author | Karel Kočí <cynerd@email.cz> | 2022-08-08 08:27:06 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-08-08 08:27:06 +0200 |
commit | 07896ee61dba47bc57c4c3b3b819033dc0324a1b (patch) | |
tree | 42ee9d052e6738e7b5dac4a1842f20f72bf4ed96 /pkgs/certgen | |
parent | defa8544d9437116a652827db62cbbf1f8933d5e (diff) | |
download | nixturris-07896ee61dba47bc57c4c3b3b819033dc0324a1b.tar.gz nixturris-07896ee61dba47bc57c4c3b3b819033dc0324a1b.tar.bz2 nixturris-07896ee61dba47bc57c4c3b3b819033dc0324a1b.zip |
Turris Omnia cross build now should work
Diffstat (limited to 'pkgs/certgen')
-rw-r--r-- | pkgs/certgen/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/certgen/default.nix b/pkgs/certgen/default.nix new file mode 100644 index 0000000..3818b9b --- /dev/null +++ b/pkgs/certgen/default.nix @@ -0,0 +1,25 @@ +{ buildPythonApplication, lib, fetchgit +, python3 +, crypto-wrapper +}: + +buildPythonApplication rec { + pname = "sentinel-certgen"; + version = "6.2"; + meta = with lib; { + homepage = "https://gitlab.nic.cz/turris/sentinel/certgen"; + description = "Sentinel automated passwords and certificates retrieval"; + license = licenses.gpl3; + }; + + src = fetchgit { + url = "https://gitlab.nic.cz/turris/sentinel/certgen.git"; + rev = "v" + version; + sha256 = "10ii3j3wqdib7m2fc0w599981mv9q3ahj96q4kyrn5sh18v2c7nb"; + }; + + propagatedBuildInputs = with python3.pkgs; [ + crypto-wrapper + six requests cryptography + ]; +} |