mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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
|
||||
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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user