mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge pull request #44152 from georgewhewell/add-sabyenc
pythonPackages.sabyenc: init at 2.3.3
This commit is contained in:
commit
5cd5e74177
3 changed files with 25 additions and 1 deletions
22
pkgs/development/python-modules/sabyenc/default.nix
Normal file
22
pkgs/development/python-modules/sabyenc/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
{stdenv, fetchFromGitHub, python2, par2cmdline, unzip, unrar, p7zip, makeWrapper}:
|
{stdenv, fetchFromGitHub, python2, par2cmdline, unzip, unrar, p7zip, makeWrapper}:
|
||||||
|
|
||||||
let
|
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 ];
|
path = stdenv.lib.makeBinPath [ par2cmdline unrar unzip p7zip ];
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
version = "2.3.3";
|
version = "2.3.3";
|
||||||
|
|
|
@ -475,6 +475,8 @@ in {
|
||||||
|
|
||||||
rx = callPackage ../development/python-modules/rx { };
|
rx = callPackage ../development/python-modules/rx { };
|
||||||
|
|
||||||
|
sabyenc = callPackage ../development/python-modules/sabyenc { };
|
||||||
|
|
||||||
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
|
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
|
||||||
|
|
||||||
seekpath = callPackage ../development/python-modules/seekpath { };
|
seekpath = callPackage ../development/python-modules/seekpath { };
|
||||||
|
|
Loading…
Reference in a new issue