summary refs log tree commit diff
path: root/pkgs/development/libraries/agda
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-09-27 02:35:54 +0100
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-09-27 02:35:54 +0100
commit4d2a3933a48611ae3d6216db4b43ebeeb1800324 (patch)
tree1ec865a8908c8485fb274fe9308b39313245e0bc /pkgs/development/libraries/agda
parent5e4cf9212135796746862074b0e298487a4ec2ff (diff)
downloadnixpkgs-4d2a3933a48611ae3d6216db4b43ebeeb1800324.tar
nixpkgs-4d2a3933a48611ae3d6216db4b43ebeeb1800324.tar.gz
nixpkgs-4d2a3933a48611ae3d6216db4b43ebeeb1800324.tar.bz2
nixpkgs-4d2a3933a48611ae3d6216db4b43ebeeb1800324.tar.lz
nixpkgs-4d2a3933a48611ae3d6216db4b43ebeeb1800324.tar.xz
nixpkgs-4d2a3933a48611ae3d6216db4b43ebeeb1800324.tar.zst
nixpkgs-4d2a3933a48611ae3d6216db4b43ebeeb1800324.zip
agda-prelude: new package
Diffstat (limited to 'pkgs/development/libraries/agda')
-rw-r--r--pkgs/development/libraries/agda/agda-prelude/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/agda/agda-prelude/default.nix b/pkgs/development/libraries/agda/agda-prelude/default.nix
new file mode 100644
index 00000000000..9b67c5dbb5b
--- /dev/null
+++ b/pkgs/development/libraries/agda/agda-prelude/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, agda, fetchgit }:
+
+agda.mkDerivation (self: rec {
+  version = "d598f35d88596c5a63766a7188a0c0144e467c8c";
+  name = "agda-prelude-${version}";
+
+  src = fetchgit {
+    url = "https://github.com/UlfNorell/agda-prelude.git";
+    rev = version;
+    sha256 = "bdcffb675d0ad1bafa2b47f581b6a9b90347ae739b6218f89f365fda2cc4f8c8";
+  };
+
+  topSourceDirectories = [ "src" ];
+  everythingFile = "src/Prelude.agda";
+
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/UlfNorell/agda-prelude";
+    description = "Programming library for Agda";
+    license = stdenv.lib.licenses.mit;
+    platforms = stdenv.lib.platforms.unix;
+    maintainers = with maintainers; [ fuuzetsu ];
+  };
+})