mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
pythonPackages.transmissionrpc: refactor move to python-modules
This commit is contained in:
parent
482b9eac1f
commit
48cf32e573
24
pkgs/development/python-modules/transmissionrpc/default.nix
Normal file
24
pkgs/development/python-modules/transmissionrpc/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "transmissionrpc";
|
||||
version = "0.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ec43b460f9fde2faedbfa6d663ef495b3fd69df855a135eebe8f8a741c0dde60";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python implementation of the Transmission bittorent client RPC protocol";
|
||||
homepage = https://pypi.python.org/pypi/transmissionrpc/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -3999,24 +3999,7 @@ in {
|
||||
|
||||
transaction = callPackage ../development/python-modules/transaction { };
|
||||
|
||||
|
||||
transmissionrpc = buildPythonPackage rec {
|
||||
name = "transmissionrpc-${version}";
|
||||
version = "0.11";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/t/transmissionrpc/${name}.tar.gz";
|
||||
sha256 = "ec43b460f9fde2faedbfa6d663ef495b3fd69df855a135eebe8f8a741c0dde60";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ six ];
|
||||
|
||||
meta = {
|
||||
description = "Python implementation of the Transmission bittorent client RPC protocol";
|
||||
homepage = https://pypi.python.org/pypi/transmissionrpc/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
transmissionrpc = callPackage ../development/python-modules/transmissionrpc { };
|
||||
|
||||
eggdeps = buildPythonPackage rec {
|
||||
name = "eggdeps-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user