sabnzbd: 1.1.0 -> 1.2.0

This commit is contained in:
Frederik Rietdijk 2017-02-14 14:14:27 +01:00
parent 8665250844
commit 51a338a601

View File

@ -1,15 +1,18 @@
{stdenv, fetchurl, python2, par2cmdline, unzip, unrar, p7zip, makeWrapper}:
{stdenv, fetchFromGitHub, python2, par2cmdline, unzip, unrar, p7zip, makeWrapper}:
let
pythonEnv = python2.withPackages(ps: with ps; [ pyopenssl cheetah yenc ]);
path = stdenv.lib.makeBinPath [ par2cmdline unrar unzip p7zip ];
in stdenv.mkDerivation rec {
version = "1.1.0";
name = "sabnzbd-${version}";
version = "1.2.0";
pname = "sabnzbd";
name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/sabnzbd/sabnzbd/archive/${version}.tar.gz";
sha256 = "16srhknmjx5x2zsg1m0w9bipcv9b3b96bvb27fkf4dc2aswwcsc7";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "1g1zf0zrlqgparg6hws6agpr414dw2q4xq9l8nh720rn6m7fv4vb";
};
buildInputs = [ pythonEnv makeWrapper ];