Add package for Fossil
[nixpkgs-libre.git] / pkgs / applications / version-management / fossil / default.nix
blobe04641522805ad1346a43b7f00ccee7a3c4bd6e7
1 {stdenv, fetchurl, zlib, openssl}:
3 let
4   version = "20100318142033";
5 in
7 stdenv.mkDerivation {
8   name = "fossil-${version}";
10   src = fetchurl {
11     url = "http://www.fossil-scm.org/download/fossil-src-${version}.tar.gz";
12     sha256 = "16kd9sg99s8v549n9ggr5ynjrz36i71fvj1r66djdbdclg5sxlxv";
13   };
15   buildInputs = [ zlib openssl ];
17   installPhase = ''
18     ensureDir $out/bin
19     INSTALLDIR=$out/bin make install
20   '';
22   meta = {
23     description = "Simple, high-reliability, distributed software configuration management.";
24     longDescription = ''
25       Fossil is a software configuration management system.  Fossil is
26       software that is designed to control and track the development of a
27       software project and to record the history of the project. There are
28       many such systems in use today. Fossil strives to distinguish itself
29       from the others by being extremely simple to setup and operate.
30     '';
31     homepage = http://www.fossil-scm.org/;
32     license = "GPLv2";
33     maintainers = [ #Add your name here!
34       stdenv.lib.maintainers.z77z
35     ];
36   };