summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/bepasty-client-cli
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-01-11 23:07:15 +0100
committerlassulus <lass@lassul.us>2017-01-11 23:07:15 +0100
commit8884c4274ddd54364e7215f2ce051a53ac542b99 (patch)
tree4fbd09c596ca5ea80488c1450d7c6a4872d39203 /krebs/5pkgs/bepasty-client-cli
parent8616bb393f7c994c78af50f10058434610157e57 (diff)
k 5 bepasty-client-cli: use recent git master
Diffstat (limited to 'krebs/5pkgs/bepasty-client-cli')
-rw-r--r--krebs/5pkgs/bepasty-client-cli/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/krebs/5pkgs/bepasty-client-cli/default.nix b/krebs/5pkgs/bepasty-client-cli/default.nix
index 990f99af6..c58e637b3 100644
--- a/krebs/5pkgs/bepasty-client-cli/default.nix
+++ b/krebs/5pkgs/bepasty-client-cli/default.nix
@@ -1,17 +1,18 @@
-{ lib, pkgs, pythonPackages, fetchurl, ... }:
+{ lib, pkgs, pythonPackages, fetchFromGitHub, ... }:
with pythonPackages; buildPythonPackage rec {
- name = "bepasty-client-cli-${version}";
- version = "0.3.0";
+ name = "bepasty-client-cli";
propagatedBuildInputs = [
python_magic
click
requests2
];
- src = fetchurl {
- url = "https://pypi.python.org/packages/source/b/bepasty-client-cli/bepasty-client-cli-${version}.tar.gz";
- sha256 = "002kcplyfnmr5pn2ywdfilss0rmbm8wcdzz8hzp03ksy2zr4sdbw";
+ src = fetchFromGitHub {
+ owner = "bepasty";
+ repo = "bepasty-client-cli";
+ rev = "4b7135ba8ba1e17501de08ad7b6aca73c0d949d2";
+ sha256 = "1svchyk9zai1vip9ppm12jm7wfjbdr9ijhgcd2n10xh73jrn9cnc";
};
meta = {