git.iko.soy/typeable/nixpkgs
on master help sign in
Updating giv to latest from git (>0.9.25).

We were using a version years old. I picked the git version instead of the last release because the git version has fixes not released for almost one year.

commitf38d620d596a45d6a7a4e20a1c7f4985cf4d3ffb authorLluís Batlle i Rossell <viric@viric.name> dateTue 29 Mar 2016, 17:39 (11 years ago) parenta5322ef
2 files changed+7−32
pkgs/applications/graphics/giv/build.patch−27 pkgs/applications/graphics/giv/default.nix+7−5
pkgs/applications/graphics/giv/build.patch−27
@@ -15,30 +15,3 @@ index 16eccd9..603e931 100644
1515
1616 env['SBOX'] = False
1717
18−diff --git a/giv/SConstruct b/giv/SConstruct
19−index 047839a..2c267aa 100644
20−--- a/giv/SConstruct
21−+++ b/giv/SConstruct
22−@@ -3,8 +3,9 @@
23−
24− import sys
25− import re
26−+import os
27−
28−-env = Environment()
29−+env = Environment(ENV = os.environ)
30−
31− src = ["giv.c",
32− "giv-backstore.c",
33−diff --git a/src/plugins/dcmtk/SConstruct.standalone b/src/plugins/dcmtk/SConstruct.standalone
34−index ffce001..74246f8 100644
35−--- a/src/plugins/dcmtk/SConstruct.standalone
36−+++ b/src/plugins/dcmtk/SConstruct.standalone
37−@@ -1,4 +1,6 @@
38−-env = Environment()
39−+import os
40−+
41−+env = Environment(ENV = os.environ)
42−
43− variant = "Debug"
44−
pkgs/applications/graphics/giv/default.nix+7−5
@@ -1,12 +1,14 @@
1−{ stdenv, fetchurl, gdk_pixbuf, scons, pkgconfig, gtk, glib,
1+{ stdenv, fetchFromGitHub, gdk_pixbuf, scons, pkgconfig, gtk, glib,
22 pcre, cfitsio, perl, gob2, vala, libtiff, json_glib }:
33
44stdenv.mkDerivation rec {
5− name = "giv-0.9.22";
5+ name = "giv-20150811-git";
66
7− src = fetchurl {
8− url = "mirror://sourceforge/giv/${name}.tar.gz";
9− sha256 = "1q0806b66ajppxbv1i71wx5d3ydc1h3hsz23m6g4g80dhiai7dly";
7+ src = fetchFromGitHub {
8+ owner = "dov";
9+ repo = "giv";
10+ rev = "64648bfbbf10ec4a9adfbc939c96c7d1dbdce57a";
11+ sha256 = "1sz2n7jbmg3g97bs613xxjpzqbsl5rvpg6v7g3x3ycyd35r8vsfp";
1012 };
1113
1214 # It built code to be put in a shared object without -fPIC