add some locally created packages
This commit is contained in:
parent
1d0bd6365d
commit
cb372898b1
@ -106,6 +106,7 @@
|
||||
# Enable CUPS to print documents.
|
||||
services.avahi.enable = true; # cups browsing support
|
||||
services.printing.enable = true;
|
||||
services.colord.enable = true;
|
||||
|
||||
# IntelliJ
|
||||
boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288;
|
||||
|
16
pkgs/pdfpc.nix
Normal file
16
pkgs/pdfpc.nix
Normal file
@ -0,0 +1,16 @@
|
||||
with import <nixpkgs> {};
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pdfpc-${version}";
|
||||
version = "2015-04-16";
|
||||
|
||||
# fetchFromGitHub doesn't include submodules
|
||||
src = fetchgit {
|
||||
url = "https://github.com/pdfpc/pdfpc.git";
|
||||
rev = "c85ecfbf20050715393f5874124be49853a5e80e";
|
||||
sha256 = "1gb0vn60f81wwz0g9ivacdiqbs5n2d64axr1pd0f3wp7mrwm34pp";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake gtk2 poppler librsvg vala
|
||||
pkgconfig gstreamer gst_plugins_base gnome3.libgee epoxy ]
|
||||
++ (with xlibs; [ libxcb libXdmcp libpthreadstubs libxshmfence libxkbcommon ]);
|
||||
}
|
22
pkgs/qalc-gtk.nix
Normal file
22
pkgs/qalc-gtk.nix
Normal file
@ -0,0 +1,22 @@
|
||||
# { stdenv, fetchurl, cln, libxml2, glib, intltool, pkgconfig }:
|
||||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qalculate-gtk-${version}";
|
||||
version = "0.9.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/qalculate/${name}.tar.gz";
|
||||
sha256 = "0b986x5yny9vrzgxlbyg80b23mxylxv2zz8ppd9svhva6vi8xsm4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ intltool pkgconfig ];
|
||||
buildInputs = [ libqalculate gtk gnome2.libglade gnome2.libgnome gnome2.scrollkeeper ];
|
||||
|
||||
meta = {
|
||||
description = "The ultimate desktop calculator";
|
||||
homepage = http://qalculate.sourceforge.net;
|
||||
maintainers = [ stdenv.lib.maintainers.gebner ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
19
pkgs/qmaxsat.nix
Normal file
19
pkgs/qmaxsat.nix
Normal file
@ -0,0 +1,19 @@
|
||||
with import <nixpkgs> {};
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qmaxsat-${version}";
|
||||
version = "14.04";
|
||||
|
||||
src = fetchurl {
|
||||
url = https://sites.google.com/site/qmaxsat/maxsat2014-1/qmaxsat14.04auto-glucose3_static;
|
||||
sha256 = "08dbcm473kxm13g0dli2aaqha26a1yy218y1jff2zval4i4wx10m";
|
||||
};
|
||||
|
||||
unpackCmd = ''
|
||||
mkdir src/
|
||||
cp $src src/qmaxsat-bin
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -D -m0755 qmaxsat* $out/bin/qmaxsat
|
||||
'';
|
||||
}
|
20
pkgs/yourkit.nix
Normal file
20
pkgs/yourkit.nix
Normal file
@ -0,0 +1,20 @@
|
||||
with import <nixpkgs> {};
|
||||
stdenv.mkDerivation rec {
|
||||
name = "yjp-${version}";
|
||||
version = "2015-build-15056";
|
||||
|
||||
src = fetchzip {
|
||||
url = https://www.yourkit.com/download/yjp-2015-build-15056.zip;
|
||||
sha256 = "0y3d3fs91w0qbdvbm4nr02rmkbqmndl7j4rhxwzibs815ci659jn";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -ra ./ $out/yjp
|
||||
chmod +x $out/yjp/bin/*/yjp_dc
|
||||
makeWrapper $out/yjp/bin/yjp.sh $out/bin/yjp \
|
||||
--prefix PATH : ${jdk}
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user