about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2020-04-17 13:18:19 +0300
committerDoron Behar <doron.behar@gmail.com>2020-04-30 10:30:13 +0300
commit5c39300463618b12b53548172583c9ed1b271a02 (patch)
treea88eab2c8f843fa952b653ee5b22364e48da5f25
parent875cdcff4ab8c6e2593273b62151d23a2d59c4fa (diff)
downloadnixlib-5c39300463618b12b53548172583c9ed1b271a02.tar
nixlib-5c39300463618b12b53548172583c9ed1b271a02.tar.gz
nixlib-5c39300463618b12b53548172583c9ed1b271a02.tar.bz2
nixlib-5c39300463618b12b53548172583c9ed1b271a02.tar.lz
nixlib-5c39300463618b12b53548172583c9ed1b271a02.tar.xz
nixlib-5c39300463618b12b53548172583c9ed1b271a02.tar.zst
nixlib-5c39300463618b12b53548172583c9ed1b271a02.zip
tweeny: init at 3.1.0
-rw-r--r--pkgs/development/libraries/tweeny/default.nix30
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tweeny/default.nix b/pkgs/development/libraries/tweeny/default.nix
new file mode 100644
index 000000000000..d3c30028ba47
--- /dev/null
+++ b/pkgs/development/libraries/tweeny/default.nix
@@ -0,0 +1,30 @@
+{ stdenv
+, fetchFromGitHub
+, cmake
+}:
+
+stdenv.mkDerivation rec {
+  pname = "tweeny";
+  version = "3.1.0";
+
+  src = fetchFromGitHub {
+    owner = "mobius3";
+    repo = "tweeny";
+    rev = "v${version}";
+    sha256 = "0qvby57g9a2m4afd1mgard3k7nm4ynbvali7nzm1qn3ygdmqid7n";
+  };
+
+  nativeBuildInputs = [
+    cmake
+  ];
+
+  doCheck = true;
+
+  meta = with stdenv.lib; {
+    description = "A modern C++ tweening library";
+    license = licenses.mit;
+    homepage = "http://mobius3.github.io/tweeny";
+    maintainers = [ maintainers.doronbehar ];
+    platforms = with platforms; darwin ++ linux;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index f182b6d250cf..262adcee5d37 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -7438,6 +7438,8 @@ in
 
   tweet-hs = haskell.lib.justStaticExecutables haskellPackages.tweet-hs;
 
+  tweeny = callPackage ../development/libraries/tweeny { };
+
   qfsm = callPackage ../applications/science/electronics/qfsm { };
 
   tkgate = callPackage ../applications/science/electronics/tkgate/1.x.nix { };