diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-03-01 14:37:28 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-03-05 18:04:11 +0100 |
commit | c6ab53e9dbdf47ba8f6950e74ef6d65f7ca3379b (patch) | |
tree | 71e3706b63d69a5ecd97481a8b122a97209117c7 /pkgs/applications | |
parent | 31955c869f169a774d3ef084a79866e54bb6f8c4 (diff) | |
download | nixlib-c6ab53e9dbdf47ba8f6950e74ef6d65f7ca3379b.tar nixlib-c6ab53e9dbdf47ba8f6950e74ef6d65f7ca3379b.tar.gz nixlib-c6ab53e9dbdf47ba8f6950e74ef6d65f7ca3379b.tar.bz2 nixlib-c6ab53e9dbdf47ba8f6950e74ef6d65f7ca3379b.tar.lz nixlib-c6ab53e9dbdf47ba8f6950e74ef6d65f7ca3379b.tar.xz nixlib-c6ab53e9dbdf47ba8f6950e74ef6d65f7ca3379b.tar.zst nixlib-c6ab53e9dbdf47ba8f6950e74ef6d65f7ca3379b.zip |
Add package: scim
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/scim/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/applications/misc/scim/default.nix b/pkgs/applications/misc/scim/default.nix new file mode 100644 index 000000000000..ef1bb0bed1dc --- /dev/null +++ b/pkgs/applications/misc/scim/default.nix @@ -0,0 +1,42 @@ +{ stdenv, fetchurl, yacc, ncurses, libxml2 }: + +let + version = "0.1.8"; +in +stdenv.mkDerivation rec { + + name = "scim-${version}"; + + src = fetchurl { + url = "https://github.com/andmarti1424/scim/archive/v${version}.tar.gz"; + sha256 = "0qjixb1hzbdrypbmzwb2iaw5wp57kn7fmm1zpjp4gzjyanrhazs2"; + }; + + buildInputs = [ yacc ncurses libxml2 ]; + + buildPhase = '' + cd src + + sed "s,prefix=/usr,prefix=$out," Makefile + sed "s,-I/usr/include/libxml2,-I$libxml2," Makefile + + make + export DESTDIR=$out + ''; + + installPhase = '' + make install prefix= + ''; + + meta = { + homepage = "https://github.com/andmarti1424/scim"; + description = "SCIM - Spreadsheet Calculator Improvised - SC fork"; + license = { + fullName = "SCIM License"; + url = "https://github.com/andmarti1424/scim/raw/master/LICENSE"; + }; + maintainers = [ stdenv.lib.maintainers.matthiasbeyer ]; + platforms = with stdenv.lib.platforms; linux; # Cannot test others + }; + +} |