citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

default.nix (377B)


      1 { stdenv
      2 , python
      3 , fetchFromGitHub
      4 }:
      5 stdenv.mkDerivation rec {
      6   name = "dbopen-${version}";
      7   version = "1.3";
      8   buildInputs = [ python ];
      9 
     10   src = fetchFromGitHub {
     11     rev = version;
     12     owner = "jb55";
     13     repo = "dbopen";
     14     sha256 = "0w613z08pzkw2216f2zniqrp1zcc8r9wis6f1bhd1xbzlh0q5mkj";
     15   };
     16 
     17   configurePhase = "mkdir -p $out/bin";
     18   makeFlags = "PREFIX=$(out)";
     19 }