tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python.pkgs.mygpoclient: 1.7 -> 1.8
Jörg Thalheim
8 years ago
2efe8b95
409642e5
+32
-29
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
mygpoclient
default.nix
top-level
python-packages.nix
+31
pkgs/development/python-modules/mygpoclient/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ stdenv, fetchFromGitHub, buildPythonPackage, nose, minimock }:
2
+
3
+
buildPythonPackage rec {
4
+
name = "mygpoclient-${version}";
5
+
version = "1.8";
6
+
7
+
src = fetchFromGitHub {
8
+
owner = "gpodder";
9
+
repo = "mygpoclient";
10
+
rev = version;
11
+
sha256 = "0aa28wc55x3rxa7clwfv5v5500ffyaq0vkxaa3v01y1r93dxkdvp";
12
+
};
13
+
14
+
buildInputs = [ nose minimock ];
15
+
16
+
checkPhase = ''
17
+
nosetests
18
+
'';
19
+
20
+
meta = with stdenv.lib; {
21
+
description = "A gpodder.net client library";
22
+
longDescription = ''
23
+
The mygpoclient library allows developers to utilize a Pythonic interface
24
+
to the gpodder.net web services.
25
+
'';
26
+
homepage = https://github.com/gpodder/mygpoclient;
27
+
license = with licenses; [ gpl3 ];
28
+
platforms = with platforms; linux ++ darwin;
29
+
maintainers = with maintainers; [ skeidel ];
30
+
};
31
+
}
+1
-29
pkgs/top-level/python-packages.nix
···
11338
};
11339
});
11340
11341
-
mygpoclient = buildPythonPackage rec {
11342
-
name = "mygpoclient-${version}";
11343
-
version = "1.7";
11344
-
11345
-
src = pkgs.fetchurl {
11346
-
url = "https://thp.io/2010/mygpoclient/${name}.tar.gz";
11347
-
sha256 = "6a0b7b1fe2b046875456e14eda3e42430e493bf2251a64481cf4fd1a1e21a80e";
11348
-
};
11349
-
11350
-
buildInputs = with self; [ nose minimock ];
11351
-
11352
-
checkPhase = ''
11353
-
nosetests
11354
-
'';
11355
-
11356
-
disabled = isPy3k;
11357
-
11358
-
meta = {
11359
-
description = "A gpodder.net client library";
11360
-
longDescription = ''
11361
-
The mygpoclient library allows developers to utilize a Pythonic interface
11362
-
to the gpodder.net web services.
11363
-
'';
11364
-
homepage = https://thp.io/2010/mygpoclient/;
11365
-
license = with licenses; [ gpl3 ];
11366
-
platforms = with platforms; linux ++ darwin;
11367
-
maintainers = with maintainers; [ skeidel ];
11368
-
};
11369
-
};
11370
11371
mwclient = buildPythonPackage rec {
11372
version = "0.8.3";
···
11338
};
11339
});
11340
11341
+
mygpoclient = callPackage ../development/python-modules/mygpoclient { };
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
11342
11343
mwclient = buildPythonPackage rec {
11344
version = "0.8.3";