summary refs log tree commit diff
path: root/pkgs/development/libraries/sblim-sfcc
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2017-12-24 09:39:51 +0800
committerPeter Hoeg <peter@hoeg.com>2017-12-24 10:03:32 +0800
commit24b4a7f09ef60fb808453fe26ace134143de882e (patch)
tree188b961b84348e32efe08167cb2c91a3c974e7b2 /pkgs/development/libraries/sblim-sfcc
parent1bc288591ea4fe3159b7630dcd2b57733d80a2ff (diff)
downloadnixpkgs-24b4a7f09ef60fb808453fe26ace134143de882e.tar
nixpkgs-24b4a7f09ef60fb808453fe26ace134143de882e.tar.gz
nixpkgs-24b4a7f09ef60fb808453fe26ace134143de882e.tar.bz2
nixpkgs-24b4a7f09ef60fb808453fe26ace134143de882e.tar.lz
nixpkgs-24b4a7f09ef60fb808453fe26ace134143de882e.tar.xz
nixpkgs-24b4a7f09ef60fb808453fe26ace134143de882e.tar.zst
nixpkgs-24b4a7f09ef60fb808453fe26ace134143de882e.zip
sblim-sfcc: minor cleanups
Diffstat (limited to 'pkgs/development/libraries/sblim-sfcc')
-rw-r--r--pkgs/development/libraries/sblim-sfcc/default.nix34
1 files changed, 16 insertions, 18 deletions
diff --git a/pkgs/development/libraries/sblim-sfcc/default.nix b/pkgs/development/libraries/sblim-sfcc/default.nix
index 016cc6f0472..ba0b8f4e996 100644
--- a/pkgs/development/libraries/sblim-sfcc/default.nix
+++ b/pkgs/development/libraries/sblim-sfcc/default.nix
@@ -1,30 +1,28 @@
-{ fetchgit, stdenv, autoconf, automake, libtool, curl }:
+{ stdenv, fetchFromGitHub, autoreconfHook, curl }:
 
 stdenv.mkDerivation rec {
-  version = "2.2.9";
   name = "sblim-sfcc-${version}";
+  version = "2.2.9"; # this is technically 2.2.9-preview
 
-  src = fetchgit {
-    url = "https://github.com/kkaempf/sblim-sfcc.git";
-    rev = "f70fecb410a53531e4fe99d39cf81b581819cac9";
-    sha256 = "1hsxim284qzldh599gf6khxj80g8q5263xl3lj3hdndxbhbs843v";
+  src = fetchFromGitHub {
+    owner  = "kkaempf";
+    repo   = "sblim-sfcc";
+    rev    = "514a76af2020fd6dc6fc380df76cbe27786a76a2";
+    sha256 = "06c1mskl9ixbf26v88w0lvn6v2xd6n5f0jd5mckqrn9j4vmh70hs";
   };
 
-  preConfigure = "./autoconfiscate.sh";
+  buildInputs = [ curl ];
 
-  buildInputs = [ autoconf automake libtool curl ];
+  nativeBuildInputs = [ autoreconfHook ];
 
-  meta = {
-    description = "Small Footprint CIM Client Library";
-
-    homepage = https://sourceforge.net/projects/sblim/;
-
-    maintainers = [ stdenv.lib.maintainers.deepfire ];
-
-    license = stdenv.lib.licenses.cpl10;
-
-    platforms = stdenv.lib.platforms.gnu;  # arbitrary choice
+  enableParallelBuilding = true;
 
+  meta = with stdenv.lib; {
+    description = "Small Footprint CIM Client Library";
+    homepage    = https://sourceforge.net/projects/sblim/;
+    license     = licenses.cpl10;
+    maintainers = with maintainers; [ deepfire ];
+    platforms   = platforms.unix;
     inherit version;
   };
 }