1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #44152 from georgewhewell/add-sabyenc

pythonPackages.sabyenc: init at 2.3.3
This commit is contained in:
Frederik Rietdijk 2018-07-28 09:43:07 +02:00 committed by GitHub
commit 5cd5e74177
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "sabyenc";
version = "3.3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0fpvd5mckf1kbn0bhc5ybm08y41ps7sc5f9khz08qyjbikbcww85";
};
# tests are not included in pypi distribution
doCheck = false;
meta = {
description = "Python yEnc package optimized for use within SABnzbd";
homepage = "https://github.com/sabnzbd/sabyenc/";
license = lib.licenses.lgpl3;
maintainers = [ lib.maintainers.georgewhewell ];
};
}

View file

@ -1,7 +1,7 @@
{stdenv, fetchFromGitHub, python2, par2cmdline, unzip, unrar, p7zip, makeWrapper}:
let
pythonEnv = python2.withPackages(ps: with ps; [ cryptography cheetah yenc ]);
pythonEnv = python2.withPackages(ps: with ps; [ cryptography cheetah yenc sabyenc ]);
path = stdenv.lib.makeBinPath [ par2cmdline unrar unzip p7zip ];
in stdenv.mkDerivation rec {
version = "2.3.3";

View file

@ -475,6 +475,8 @@ in {
rx = callPackage ../development/python-modules/rx { };
sabyenc = callPackage ../development/python-modules/sabyenc { };
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
seekpath = callPackage ../development/python-modules/seekpath { };