tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
workrave: fix version format and tarball name
Tobias Geerinckx-Rice
9 years ago
ba712635
693942b6
+7
-3
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
workrave
default.nix
+7
-3
pkgs/applications/misc/workrave/default.nix
···
10
10
gdome2, gstreamer, libsigcxx }:
11
11
12
12
stdenv.mkDerivation rec {
13
13
-
version = "v1_10_6";
13
13
+
version = "1.10.6";
14
14
name = "workrave-${version}";
15
15
16
16
-
src = fetchurl {
17
17
-
url = "http://github.com/rcaelers/workrave/archive/${version}.tar.gz";
16
16
+
src = let
17
17
+
version_ = with stdenv.lib;
18
18
+
concatStringsSep "_" (splitString "." version);
19
19
+
in fetchurl {
20
20
+
name = "${name}.tar.gz";
21
21
+
url = "http://github.com/rcaelers/workrave/archive/v${version_}.tar.gz";
18
22
sha256 = "0q2p83n33chbqzdcdm7ykfsy73frfi6drxzm4qidxwzpzsxrysgq";
19
23
};
20
24