summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/python-dnsstamps.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-06-07 13:10:52 +0200
committerlassulus <lassulus@lassul.us>2020-06-07 13:10:52 +0200
commit15f39ef2e925858eb787c6a52ccb896928b28b47 (patch)
tree2ac18efb3fe36040c71753f578529470cdb884c5 /krebs/5pkgs/simple/python-dnsstamps.nix
parentfe119203ea4d2dc3e618d113c7f70629fd750aa3 (diff)
parent8ae780cf2689a0e62718fe0dcc8b80e584f68d23 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'krebs/5pkgs/simple/python-dnsstamps.nix')
-rw-r--r--krebs/5pkgs/simple/python-dnsstamps.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/python-dnsstamps.nix b/krebs/5pkgs/simple/python-dnsstamps.nix
new file mode 100644
index 000000000..18d08fec8
--- /dev/null
+++ b/krebs/5pkgs/simple/python-dnsstamps.nix
@@ -0,0 +1,21 @@
+{ python3Packages, lib }:
+
+python3Packages.buildPythonPackage rec {
+ pname = "dnsstamps";
+ version = "1.3.0";
+
+ src = python3Packages.fetchPypi {
+ inherit pname version;
+ hash = "sha256:1v334glljw60h9v739jgl8hmyldaawbpv55bbhwq1hcwm5lvdk13";
+ };
+
+ postInstall = ''
+ mv $out/bin/dnsstamp.py $out/bin/dnsstamp
+ '';
+
+ meta = {
+ description = "Create and parse DNS stamps with ease";
+ homepage = "https://github.com/chrisss404/python-dnsstamps";
+ license = lib.licenses.mit;
+ };
+}