mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
Add package: scim
This commit is contained in:
parent
31955c869f
commit
c6ab53e9db
42
pkgs/applications/misc/scim/default.nix
Normal file
42
pkgs/applications/misc/scim/default.nix
Normal file
|
@ -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
|
||||
};
|
||||
|
||||
}
|
|
@ -11363,6 +11363,8 @@ let
|
|||
boost = boost155;
|
||||
};
|
||||
|
||||
scim = callPackage ../applications/misc/scim { };
|
||||
|
||||
scite = callPackage ../applications/editors/scite { };
|
||||
|
||||
scribus = callPackage ../applications/office/scribus {
|
||||
|
|
Loading…
Reference in a new issue