From 689d778f68fea491b81cd116748ff99f7526ab09 Mon Sep 17 00:00:00 2001 From: maggesi Date: Wed, 12 May 2010 13:17:19 +0000 Subject: [PATCH] Add package for Fossil git-svn-id: https://svn.nixos.org/repos/nix/nixpkgs/trunk@21746 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb --- .../version-management/fossil/default.nix | 37 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 41 insertions(+) create mode 100644 pkgs/applications/version-management/fossil/default.nix diff --git a/pkgs/applications/version-management/fossil/default.nix b/pkgs/applications/version-management/fossil/default.nix new file mode 100644 index 000000000..e04641522 --- /dev/null +++ b/pkgs/applications/version-management/fossil/default.nix @@ -0,0 +1,37 @@ +{stdenv, fetchurl, zlib, openssl}: + +let + version = "20100318142033"; +in + +stdenv.mkDerivation { + name = "fossil-${version}"; + + src = fetchurl { + url = "http://www.fossil-scm.org/download/fossil-src-${version}.tar.gz"; + sha256 = "16kd9sg99s8v549n9ggr5ynjrz36i71fvj1r66djdbdclg5sxlxv"; + }; + + buildInputs = [ zlib openssl ]; + + installPhase = '' + ensureDir $out/bin + INSTALLDIR=$out/bin make install + ''; + + meta = { + description = "Simple, high-reliability, distributed software configuration management."; + longDescription = '' + Fossil is a software configuration management system. Fossil is + software that is designed to control and track the development of a + software project and to record the history of the project. There are + many such systems in use today. Fossil strives to distinguish itself + from the others by being extremely simple to setup and operate. + ''; + homepage = http://www.fossil-scm.org/; + license = "GPLv2"; + maintainers = [ #Add your name here! + stdenv.lib.maintainers.z77z + ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a5e61be80..00342cb5d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7556,6 +7556,10 @@ let inherit stdenv fetchurl openssl; }; + fossil = import ../applications/version-management/fossil { + inherit stdenv fetchurl zlib openssl; + }; + grip = import ../applications/misc/grip { inherit fetchurl stdenv lib grip pkgconfig curl cdparanoia libid3tag; inherit (gtkLibs) gtk glib; -- 2.11.4.GIT