mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-07 22:11:45 +03:00
Merge pull request #44483 from imuli/idris-quantities
idrisPackages: add quantities library
This commit is contained in:
commit
b49b03a8c6
@ -1689,6 +1689,11 @@
|
||||
github = "imalsogreg";
|
||||
name = "Greg Hale";
|
||||
};
|
||||
imuli = {
|
||||
email = "i@imu.li";
|
||||
github = "imuli";
|
||||
name = "Imuli";
|
||||
};
|
||||
infinisil = {
|
||||
email = "infinisil@icloud.com";
|
||||
github = "infinisil";
|
||||
|
@ -153,6 +153,8 @@
|
||||
|
||||
protobuf = callPackage ./protobuf.nix {};
|
||||
|
||||
quantities = callPackage ./quantities.nix {};
|
||||
|
||||
rationals = callPackage ./rationals.nix {};
|
||||
|
||||
recursion_schemes = callPackage ./recursion_schemes.nix {};
|
||||
|
22
pkgs/development/idris-modules/quantities.nix
Normal file
22
pkgs/development/idris-modules/quantities.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ build-idris-package
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
}:
|
||||
build-idris-package {
|
||||
name = "quantities";
|
||||
version = "2018-04-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "timjb";
|
||||
repo = "quantities";
|
||||
rev = "76bb872bd89122043083351993140ae26eb91ead";
|
||||
sha256 = "0fv12kdi9089b4kkr6inhqvs2s8x62nv5vqj76wzk8hy0lrzylzj";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Type-safe physical computations and unit conversions in Idris";
|
||||
homepage = https://github.com/timjb/quantities;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ imuli ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user