tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
wikicurses: 1.3 -> 1.4
Pascal Wittmann
7 years ago
e137f80e
68cd907d
+8
-15
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
wikicurses
default.nix
+8
-15
pkgs/applications/misc/wikicurses/default.nix
···
1
1
-
{ stdenv, fetchurl, pythonPackages }:
1
1
+
{ stdenv, fetchFromGitHub, pythonPackages }:
2
2
3
3
pythonPackages.buildPythonApplication rec {
4
4
-
version = "1.3";
4
4
+
version = "1.4";
5
5
name = "wikicurses-${version}";
6
6
7
7
-
src = fetchurl {
8
8
-
url = "http://github.com/ids1024/wikicurses/archive/v${version}.tar.gz";
9
9
-
sha256 = "1yxgafk1sczg1xi2p6nhrvr3hchp7ydw98n48lp3qzwnryn1kxv8";
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "ids1024";
9
9
+
repo = "wikicurses";
10
10
+
rev = "v${version}";
11
11
+
sha256 = "0f14s4qx3q5pr5vn460c34b5mbz2xs62d8ljs3kic8gmdn8x2knm";
10
12
};
11
13
12
12
-
patches = [
13
13
-
# This is necessary to build without a config file.
14
14
-
# It can be safely removed after updating to wikicurses to 1.4
15
15
-
# or when commit 4b944ac339312b642c6dc5d6b5a2f7be7503218f is included
16
16
-
(fetchurl {
17
17
-
url = "https://github.com/ids1024/wikicurses/commit/4b944ac339312b642c6dc5d6b5a2f7be7503218f.patch";
18
18
-
sha256 = "0ii4b0c4hb1zdhcpp4ij908mfy5b8khpm1l7xr7lp314lfhsg9as";
19
19
-
})
20
20
-
];
21
21
-
22
14
propagatedBuildInputs = with pythonPackages; [ urwid beautifulsoup4 lxml ];
23
15
24
16
meta = {
···
26
18
homepage = https://github.com/ids1024/wikicurses/;
27
19
license = stdenv.lib.licenses.mit;
28
20
platforms = stdenv.lib.platforms.unix;
21
21
+
maintainers = with stdenv.lib.maintainers; [ pSub ];
29
22
};
30
23
31
24
}