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