stockholm/lass/5pkgs/nichtparasoup/default.nix

16 lines
388 B
Nix
Raw Normal View History

2018-05-04 18:30:51 +00:00
{ stdenv, pkgs, ... }:
let
py = pkgs.python3Packages.python.withPackages (p: [
p.werkzeug
p.beautifulsoup4
]);
src = pkgs.fetchFromGitHub {
owner = "k4cg";
repo = "nichtparasoup";
2018-05-04 18:59:08 +00:00
rev = "c6dcd0d";
sha256 = "10xy20bjdnd5bjv2hf6v5y5wi0mc9555awxkjqf57rk6ngc5w6ss";
2018-05-04 18:30:51 +00:00
};
in pkgs.writeDashBin "nichtparasoup" ''
2018-05-04 18:59:08 +00:00
${py}/bin/python ${src}/nichtparasoup.py "$@"
2018-05-04 18:30:51 +00:00
''