git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #6615 from matthiasbeyer/add-scim

Add package: scim

commit5cd9bbb866ee0f1d72c66eaec3386db28a78b5c9 authorlethalman <lucabru@src.gnome.org> dateThu 5 Mar 2015, 18:08 (12 years ago) parent58795b9c6ab53e
2 files changed+44
pkgs/applications/misc/scim/default.nix+42 pkgs/top-level/all-packages.nix+2
pkgs/applications/misc/scim/default.nixnew file+42
@@ -0,0 +1,42 @@
1+{ stdenv, fetchurl, yacc, ncurses, libxml2 }:
2+
3+let
4+ version = "0.1.8";
5+in
6+stdenv.mkDerivation rec {
7+
8+ name = "scim-${version}";
9+
10+ src = fetchurl {
11+ url = "https://github.com/andmarti1424/scim/archive/v${version}.tar.gz";
12+ sha256 = "0qjixb1hzbdrypbmzwb2iaw5wp57kn7fmm1zpjp4gzjyanrhazs2";
13+ };
14+
15+ buildInputs = [ yacc ncurses libxml2 ];
16+
17+ buildPhase = ''
18+ cd src
19+
20+ sed "s,prefix=/usr,prefix=$out," Makefile
21+ sed "s,-I/usr/include/libxml2,-I$libxml2," Makefile
22+
23+ make
24+ export DESTDIR=$out
25+ '';
26+
27+ installPhase = ''
28+ make install prefix=
29+ '';
30+
31+ meta = {
32+ homepage = "https://github.com/andmarti1424/scim";
33+ description = "SCIM - Spreadsheet Calculator Improvised - SC fork";
34+ license = {
35+ fullName = "SCIM License";
36+ url = "https://github.com/andmarti1424/scim/raw/master/LICENSE";
37+ };
38+ maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
39+ platforms = with stdenv.lib.platforms; linux; # Cannot test others
40+ };
41+
42+}
pkgs/top-level/all-packages.nix+2
@@ -11363,6 +11363,8 @@ let
1136311363 boost = boost155;
1136411364 };
1136511365
11366+ scim = callPackage ../applications/misc/scim { };
11367+
1136611368 scite = callPackage ../applications/editors/scite { };
1136711369
1136811370 scribus = callPackage ../applications/office/scribus {