Skip to content

Commit

Permalink
urlscan: init at 0.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaetzel authored and 7c6f434c committed Dec 28, 2016
1 parent 88d61cc commit 3414470
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/maintainers.nix
Expand Up @@ -129,6 +129,7 @@
dochang = "Desmond O. Chang <dochang@gmail.com>";
domenkozar = "Domen Kozar <domen@dev.si>";
doublec = "Chris Double <chris.double@double.co.nz>";
dpaetzel = "David Pätzel <david.a.paetzel@gmail.com>";
drets = "Dmytro Rets <dmitryrets@gmail.com>";
drewkett = "Andrew Burkett <burkett.andrew@gmail.com>";
dtzWill = "Will Dietz <nix@wdtz.org>";
Expand Down
25 changes: 25 additions & 0 deletions pkgs/applications/misc/urlscan/default.nix
@@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, isPy35, fetchFromGitHub, urwid }:

buildPythonPackage rec {
name = "urlscan-${version}";
version = "0.8.3";

src = fetchFromGitHub {
owner = "firecat53";
repo = "urlscan";
rev = version;
# (equivalent but less nice(?): rev = "00333f6d03bf3151c9884ec778715fc605f58cc5")
sha256 = "0l40anfznam4d3q0q0jp2wwfrvfypz9ppbpjyzjdrhb3r2nizb0y";
};

propagatedBuildInputs = [ urwid ];

# FIXME doesn't work with 2.7; others than 2.7 and 3.5 were not tested (yet)
disabled = ! isPy35;

meta = with stdenv.lib; {
description = "Mutt and terminal url selector (similar to urlview)";
license = licenses.gpl2;
maintainers = [ maintainers.dpaetzel ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -31725,6 +31725,8 @@ EOF
};
};

urlscan = callPackage ../applications/misc/urlscan { };

wp_export_parser = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "wp_export_parser";
Expand Down

0 comments on commit 3414470

Please sign in to comment.